package cn.wolfcode.wms.service.impl;

import cn.wolfcode.wms.mapper.ChartsMapper;
import cn.wolfcode.wms.qo.OrderChartQueryObject;
import cn.wolfcode.wms.qo.SaleChartQueryObject;
import cn.wolfcode.wms.service.ChartsService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;
@Service
public class ChartsServiceImpl implements ChartsService {
    @Autowired
    private ChartsMapper chartsMapper;
    public List<Map<String, Object>> orderChart(OrderChartQueryObject qo) {
        return chartsMapper.orderChart(qo);
    }public List<Map<String, Object>> saleChart(SaleChartQueryObject qo) {
        return chartsMapper.saleChart(qo);
    }
}
